package com.xyy.saas.payment.adpater.xydLoan.core.req;

import com.xyy.saas.payment.adpater.xydLoan.core.dto.XydLoaningOrderInfoDto;
import com.xyy.saas.payment.adpater.xydLoan.core.dto.XydLogisticsInfoDto;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @author wangcheng7
 * 贷中数据同步请求实体
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true)
public class XydLoanDataSyncReq extends XydLoanBaseRequest {

    /**
     * 用户编号
     */
    private String thirdUserNo;

    /**
     * 物流信息DTO
     */
    private XydLogisticsInfoDto logisticsInfo;

    /**
     * 订单信息DTO
     */
    private String orderInfo;

    public static XydLoanDataSyncReq mock() {
        XydLoanDataSyncReq xydAuthCreditReq = new XydLoanDataSyncReq();
        xydAuthCreditReq.setPlatformCode("yaobangmang");
        xydAuthCreditReq.setProductNo("GYL-YCD-CGD");
        xydAuthCreditReq.setThirdUserNo("11");
        xydAuthCreditReq.setLogisticsInfo(new XydLogisticsInfoDto()
                .setThirdOrderNo("YBM20250319121330111222")
                .setReceiveAddress("北京朝阳").setDistributionType("1").setReceiveUserName("zhang3").setReceiveUserPhoneNo("15900001111").setLogisticsStatus("0"));
        xydAuthCreditReq.setLogisticsInfo(new XydLogisticsInfoDto());
        return xydAuthCreditReq;
    }

}
